import Vue from 'vue'
import Router from 'vue-router'
import Index from '../page/index/index.vue'
import Publish from '../page/publish/publish.vue'

Vue.use(Router)

export default new Router({
  routes: [
    {
      path: '/',
      name: 'index',
      component:Index
    },
    {
      path: '/',
      name: 'publish',
      component:Publish
    }
  ]
})
